<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      .box {
        width: 343px;
        height: 267px;
        margin: 200px auto;
        /* border: 1px solid black; */
        position: relative;
      }
      .box .dengpao {
        position: absolute;
        left: 50%;
        margin-left: -95.5px;
      }
      .box .guang {
        position: absolute;
        left: 50%;
        top: -77px;
        margin-left: -171.5px;
        animation: 1s r ease 0s infinite alternate;
      }
      @keyframes r {
        from {
          opacity: 1;
        }
        to {
          opacity: 0;
        }
      }
    </style>
  </head>
  <body>
    <div class="box">
      <img class="dengpao" src="images/dengpao.png" alt="" />
      <img class="guang" src="images/guang.png" alt="" />
    </div>
  </body>
</html>
